<div class="main edit-info-jiuzheng safe-detail">
  <div class="main-header">
    <div class="pa-icon-div pull-left fs-14">
      <i class="iconfont icon-shouye fs-14 icon-vertical-top"></i>
      <span class="fs-vertical-middle">工作台>
      <span class="fs-theme-color">安全活动登记</span>
      </span>
    </div>
    <go-back></go-back>
  </div>
  <div class="main-content">
    <div class="container-header fs-16">
      <span>安全会议登记</span>
    </div>
    <div class="content-item">
      <div class="content-item-header fs-14">
        <label>基本信息</label>
      </div>
      <form class="content-item-content fs-0 fs-theme-color">
        <div class="pa-form-control">
          <label class="text-right  width175"><b>*</b>会议名称：</label>
          <input type="text" class="form-control-input" ng-model="vm.data.activity.name" required>
        </div>
        <div class="pa-form-control">
          <label class="text-right  width175">组织部门：</label>
          <input type="text" class="form-control-input" ng-model="vm.data.activity.organizer">
        </div>
        <div class="pa-form-control">
          <label class="text-right  width175">会议时间：</label>
          <input type="text" class="form-control-input date-picker" data-ng-datepicker ng-model="vm.data.activity.startTime">
        </div>
        <div class="pa-form-control">
          <label class="text-right  width175">会议地点：</label>
          <input type="text" class="form-control-input" ng-model="vm.data.activity.site">
        </div>
        <div class="pa-form-control">
          <label class="text-right  width175">主持人：</label>
          <input type="text" class="form-control-input" ng-model="vm.data.activity.speaker">
        </div>
        <div class="pa-form-control">
          <label class="text-right  width175">记录人：</label>
          <input type="text" class="form-control-input" ng-model="vm.data.activity.recorder">
        </div>
        <div class="pa-form-control pa-width-100">
          <label class="text-right">会议主要内容：</label>
          <label style="width:auto;padding-right: 5px;color:black">内容编辑</label>
          <input class="radio-radius" type="radio" name="pa-radio" value="1" ng-model="vm.data.isEdit">
          <label style="width:auto;padding-right: 5px;color:black">见附件</label>
          <input class="radio-radius" type="radio" name="pa-radio" value="0" ng-checked="true" ng-model="vm.data.isEdit">
        </div>
        <div class="pa-form-control pa-width-100" ng-show="vm.data.isEdit == 1" style="box-sizing: border-box;padding-left: 120px;">
          <textarea class="context-textarea" ng-model="vm.data.activity.content"></textarea>
        </div>
      </form>
    </div>
    <div class="info-item content-item">
      <div class="info-item-header fs-14">
        <label class="info-item-header-label">附件信息</label>
        <div class="pa-operate-add fr fs-14 fs-theme-color">
          <a class="pa-btn-a"
            attachment-uploader
            data-url="/api/v1/common/uploadFile?folderName=safeActivity"
            data-target=".file-list"
            ng-model="vm.view.files">
            <i class="iconfont icon-add fs-14"></i>
            <span>新增</span>
          </a>
        </div>
      </div>
      <div class="file-list"></div>
    </div>
    <!-- <div class="content-item">
        <div class="content-item-header">
            <label>附件信息</label>
            <div class="pa-operate">
                <i class="fa fa-plus"></i>
                <span ng-click="vm.addFile()">新增</span>
            </div>
        </div>
        <div class="content-item-content">
            <div ng-repeat="value in vm.data.activity.files" style="padding-bottom:10px">
                <span style="display:inline-block;min-width:150px">{{value.fileName}}</span>
                <i class="fa fa-times-circle" style="margin-left: 20px;color:#ddd" ng-click="vm.delFile($index);"></i>
            </div>
        </div>
    </div> -->
    <div class="pa-btn-area">
      <button class="pa-btn pa-btn-longer" type="button" ng-click="vm.submitActivityForm()">保存</button>
      <button class="pa-btn pa-btn-longer reset-btn" type="button" ui-sref="toDoSafeActivities">取消</button>
    </div>
  </div>
</div>
